<template>
  <div>
      <h1>我是自定义组件</h1>
      <h2>{{subData}}</h2>
  </div>
</template>

<script>
export default {
    props:["subData"]
}
</script>

<style>

</style>